SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5d9e2112c1295bba0796b9e535309406887943c0b04c747d62351b5ac391950' 
  AND token = 'Ns0vWLkOQtNa21ixI09we+6rD4IdHooaJcljUcrGsiE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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