SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ef0146845221f0e4407d3bf4a363b9cf78c59130f9ae507100fa61309de51d7' 
  AND token = 'bKBiLn/lT5wkAG6lZv80LUN2TAt2vqnKv1j4QJBeJEQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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