SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '674ca4d9f05ab8919e856feeac6d655e03ba5695b7fa077df62be0c3a79e82f1' 
  AND token = 'kB6mjwNKNDbYHihk171fQUmdKYMrbbUok0mtmqvcgCU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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