SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a7f3d4f65c71828583a432d3e75d96bf542b92010529fc1cacc805d4f6f4b2f' 
  AND token = 'yeYXsfwuxRBE7PA2cI21JpQ4f0LdaWH9IMGu86BJkbA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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