SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '844f534f7b995b1fb2e85492706a0df25cf841f5c3ba0aa6b7fe371fbdc04d16' 
  AND token = 'SUFdWm8O1r+tIj4KdDRVpX3WJdN9lRLNFITaO3Lp+aY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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