SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42f90831012e382896187c255fc82eb86f3be2164cd110869cfff9efd4d9c379' 
  AND token = '+/ph3JyuZpMDr6ELEhoCX7MeSVt6QpdqooWy4uskQv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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