SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '430077d024c080e967f2bf9099d51433c6735047da596e1545712814958602d4' 
  AND token = 'frAfDan8KtJIJTa+EdgjU/NSdEg55+bHphzXZ7LpUAY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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