SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3a0c55fcbf9840652a54f950b065307e657dc057579e63575df555eb0692b9f' 
  AND token = '4XfUw4DHVw3TwtYAcD9HBDcl8gRYYGM0F0mC/peyFj4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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