SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8bf0715ed95533c904d5aed14b1cf6f74e6b95d7af3d071b60341d303c6d6e6' 
  AND token = 'iGWsV3dqFjgthzLwB6TA8OdQ7RE97n5FenxPQuWxtQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}