SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '540a234dee04aec4b08d92639a1ed058d72e7538e1a436bbe22b2a7d6feb662d' 
  AND token = 'O/mCNy4j7dTxz+X5BDy5/RP7Bwfq/O4+eoRzNkHuk3c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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