SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b312eca472d30c06116c1af178b1adb1ab46a5770f360e0462c80bf5211d389' 
  AND token = 'TD5EGTRaqqsOk2dbD8oJgG6bEAKJ5HToUZXU7+5OWcc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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