SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '48b5d5ce9ed29139419f715fcd63fcdf31202db3363deb791208e4aca16d5b98' 
  AND token = 'L7yN4crDhgdksmCs74uxDJh4fTbcs4WsgEUpLqCv9Fg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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