SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '682ae590ac939258915dae12491a40550ef33a4c57f63338610db9f7b8a1e040' 
  AND token = 'fH3WrVlvquCNb7SENI5jJuC+QTeBojSbng5qAeN05hM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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