SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28cbefdc11c378cd2098edcc21379122647aa8ec2d137b9003ac04e678741ba2' 
  AND token = 'o5anEfbr7Q7idF5wzgOQQr1JfePI7sEl/ILk6TyBi7c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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