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

Query time 0.00028

JSON explain

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