SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02ef970f22a25368dfc3bea7e71e863d8667ad5cb782f048d57ec08ec54e6fb3' 
  AND token = 'odiAz05NJ7b9Ay5tUa1FO0+OYokjOM4+BVCucbgfYm8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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