SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff7c5a39e1d10858495970ba0e592dea78580439cb05788251fa3088677b302c' 
  AND token = 'BqaDB8wi9jTdcE2MY054x7hqBjdhObP4ObNxC6P7XJQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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