SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38db642e57fb99d82da85f909d0b5cdb144c8601c58ed6c76bc8700b33f1bc31' 
  AND token = '3IkfYDedlL3m8rHyTgxzYyAmnTqqsJeRvpRULoKvsGM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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