SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5a8ed990648c69689a2ae217602bc1f0cff167551262da4eb4960df8a54ee1f' 
  AND token = 'nhJd4DmkTZXIsdMM2wi6n/j0SFixymCJWYlkSEFwFNw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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