SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f56fc5f52257b25f83167857770917e7662c752c994d12d3ed53778db23fd370' 
  AND token = 'jnUJFTWlqHGOP3xyOaK+2Lb099MduX4ZTKYkvK1oeus=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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