SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23e8ca111f91c9cded526e530e26f825db35306a34ac655e43be914204e75048' 
  AND token = 'DfmoGk69NYhTYaRp8cY29JDxNr0Pvs18tedkhXsKjbE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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