SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0dd8a2c8c7008491192f4f3edf73e74ab70c05796eabab06a0fc6ec73abb5f3d' 
  AND token = 'hqCclUJFyA/GbM2+Y9X6AAca5WGxe/IHcafHhJTXm4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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